package com.yuyou.fn.settlement.service;

import com.github.wens.framework.service.ISuperService;
import com.pingplusplus.model.Charge;
import com.yuyou.fn.settlement.entity.PayOrder;

import java.math.BigDecimal;
import java.util.Map;

/**
 *
 * PayOrder 表数据服务层接口
 *
 */
public interface IPayOrderService extends ISuperService<PayOrder,Long> {


    Charge preparePay(Long busId , String busType , BigDecimal amount , String channel , String subject , String body , Map<String,String> extra );

    void callback(String returnContent , String signature);

    PayOrder findByPayOrderIdAndChannel(Long busId,String channel);
}